<%@ page import="aiball.LeagueTeamPoints" %>



<div class="fieldcontain ${hasErrors(bean: leagueTeamPointsInstance, field: 'league', 'error')} required">
	<label for="league">
		<g:message code="leagueTeamPoints.league.label" default="League" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="league" name="league.id" from="${aiball.League.list()}" optionKey="id" required="" value="${leagueTeamPointsInstance?.league?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: leagueTeamPointsInstance, field: 'team', 'error')} required">
	<label for="team">
		<g:message code="leagueTeamPoints.team.label" default="Team" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="team" name="team.id" from="${aiball.Team.list()}" optionKey="id" required="" value="${leagueTeamPointsInstance?.team?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: leagueTeamPointsInstance, field: 'points', 'error')} required">
	<label for="points">
		<g:message code="leagueTeamPoints.points.label" default="Points" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="points" required="" value="${fieldValue(bean: leagueTeamPointsInstance, field: 'points')}"/>
</div>

